import { createApp } from 'vue'
import App from './App.vue'
import 'amfe-flexible'

const app = createApp(App)

// 注册全局组件
// import MyComponent from './view/MyComponent.vue';
// app.component('MyComponent', MyComponent);

async function asyncRegister() {
    const router = (await import("@/router")).default;
    app.use(router);
    app.mount('#app')
}

asyncRegister();



